package com.woniuxy.beans.pojo;

public class User {
    private Integer id;

    private String name;

    private String password;

    private String loginname;

    private String imgpath;

    private Integer available;

    public User(Integer id, String name, String password, String loginname, String imgpath, Integer available) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.loginname = loginname;
        this.imgpath = imgpath;
        this.available = available;
    }

    public User() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname == null ? null : loginname.trim();
    }

    public String getImgpath() {
        return imgpath;
    }

    public void setImgpath(String imgpath) {
        this.imgpath = imgpath == null ? null : imgpath.trim();
    }

    public Integer getAvailable() {
        return available;
    }

    public void setAvailable(Integer available) {
        this.available = available;
    }
}